package com.zifan.yygh.repository;

import com.zifan.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author Zifan
 * @date 2021年09月27日19:59
 */
@Repository
@SuppressWarnings("all")
public interface DepartmentRepository extends MongoRepository<Department,String> {
    /**
     * 根据医院编号和科室编号获取科室信息
     */
    Department getDepartmentByHoscodeAndDepcode(String hoscode,String depcode);

}
